package com.wangyk.jpaproject.service;

import com.wangyk.rabbitmqcommon.VO.ResultVO;
import com.wangyk.rabbitmqcommon.model.jpaproject.Category;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface CategoryService
{
    List<Category> findAll();

    Category addCategory(Category category);

    Category updateCategory( Category category);

    ResultVO findAllCategory();
}
